<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--<link rel="stylesheet" type="text/css" href="../public/css/styles.css" />-->
<link rel="stylesheet" type="text/css" href="../Public/css/styles.css" />
<title><?php echo ($title); ?></title>
<!--[if IE 6]>
	<script type="text/javascript" src="../Public/js/ie6-png.js"></script>
    <script language="javascript" type="text/javascript">
    	DD_belatedPNG.fix(".sideBar_two img,.li-item1,.li-item2,.li-item3,.li-item4,.li-item5,.main_top img");
    </script>
<![endif]-->
</head>

<body>
	<div class="headlogin">
		<div>
			<?php if($userName == ''): ?><a href="<?php echo ($nav_login); ?>">login</a>&nbsp;&nbsp;&nbsp;<a href="<?php echo ($nav_register); ?>">register</a>
			<?php else: ?>
				<a href="<?php echo ($nav_logout); ?>">logout</a><?php endif; ?>

		</div>
	</div>
   <div id="header">
        <h1 class="logo"><a href="__ROOT__/apps"><img alt="index.php" src="../Public/images/logo.gif" /></a></h1>
       <?php if($userName != ''): ?><div class="top_tips">
            <span class="tips_One">Current c2earn points</span>
            <span class="tips_zero"><?php echo ($userPoints); ?></span>
        </div><?php endif; ?>
        <div class="topBar">
            <span>Seeing Ad, Earning Points
    and Redeem Gift Cards
            </span>
        </div>
        
         <ul class="nav">
         
            <li class="selected li-item1">
                <a href="<?php echo ($nav_index); ?>">
                    <b class="nav_bd_left" <?php if($MODULE_NAME == 'Index'): ?>style="background: url(../Public/images/nav_hover_left.gif);"<?php endif; ?>></b>
                    <span class="nav_middle_bd" <?php if($MODULE_NAME == 'Index'): ?>style="background: url(../Public/images/nav_hover_middle.gif);"<?php endif; ?>><b class="li-item1" >Earn points</b></span>
                    <b class="nav_bd_right" <?php if($MODULE_NAME == 'Index'): ?>style=" background:url(../Public/images/nav_hover_right.gif);"<?php endif; ?>></b>
                </a>         
            </li>
            <li>
                <a href="<?php echo ($nav_coupons); ?>">
                    <b class="nav_bd_left" <?php if($MODULE_NAME == 'Coupon'): ?>style="background: url(../Public/images/nav_hover_left.gif);"<?php endif; ?>></b>
                    <span class="nav_middle_bd setWrap-item2" <?php if($MODULE_NAME == 'Coupon'): ?>style="background: url(../Public/images/nav_hover_middle.gif);"<?php endif; ?>><b class="li-item2">Redeem gift card</b></span>
                    <b class="nav_bd_right" <?php if($MODULE_NAME == 'Coupon'): ?>style=" background:url(../Public/images/nav_hover_right.gif);"<?php endif; ?>></b>
                </a>         
            </li>
            <li class="li-item3">
                <a href="###">
                    <b class="nav_bd_left" <?php if($MODULE_NAME == 'CouponFree'): ?>style="background: url(../Public/images/nav_hover_left.gif);"<?php endif; ?>></b>
                    <span class="nav_middle_bd" <?php if($MODULE_NAME == 'CouponFree'): ?>style="background: url(../Public/images/nav_hover_middle.gif);"<?php endif; ?>><b class="li-item3">Free coupons</b></span>
                    <b class="nav_bd_right" <?php if($MODULE_NAME == 'CouponFree'): ?>style=" background:url(../Public/images/nav_hover_right.gif);"<?php endif; ?>></b>
                </a>         
            </li>
            <li class="li-item4">
                <a href="####">
                    <b class="nav_bd_left" <?php if($MODULE_NAME == 'Help'): ?>style="background: url(../Public/images/nav_hover_left.gif);"<?php endif; ?>></b>
                    <span class="nav_middle_bd" <?php if($MODULE_NAME == 'Help'): ?>style="background: url(../Public/images/nav_hover_middle.gif);"<?php endif; ?>><b class="li-item4">Help</b></span>
                    <b class="nav_bd_right" <?php if($MODULE_NAME == 'Help'): ?>style=" background:url(../Public/images/nav_hover_right.gif);"<?php endif; ?>></b>
                </a>         
            </li>
            <li class="li-item5">
                <a href="####">
                    <b class="nav_bd_left" <?php if($MODULE_NAME == 'Web'): ?>style="background: url(../Public/images/nav_hover_left.gif);"<?php endif; ?>></b>
                    <span class="nav_middle_bd" <?php if($MODULE_NAME == 'Web'): ?>style="background: url(../Public/images/nav_hover_middle.gif);"<?php endif; ?>><b class="li-item5">c2earn website</b></span>
                    <b class="nav_bd_right" <?php if($MODULE_NAME == 'Web'): ?>style=" background:url(../Public/images/nav_hover_right.gif);"<?php endif; ?>></b>
                </a>         
            </li>
          </ul><!-- end:nav -->
    </div><!-- end:header -->

	    <div id="content">
       
        <div class="main_bottom">
        	<div class="main_bottom_bf">
                <div class="main-Sidebar">
                    <div class="top-Sidebar">
                       <label> Login 

                       </label>                 
                    </div>
                    
                    <div class="middle-Sidebar">
                                   
                 		<ul class="reg_ul">
                        <form action="__URL__/login" method="post"  >
                        
						<li><span>Username：</span><input name="username" type="text" class="input_width"/></li>
						
						<li><span>Password：</span><input name="password" type="password" class="input_width"/></li>

						<li><span> </span>
						<input type="hidden" name="submitted" value="submitted" />
						</li>
                        
						<li><span>  </span>
						<input name="" type="submit" value="Login" />
						</li>		
                        
                        </ul>
                        
                        
                        
                    </div>
                    
                    <div class="foot-Sidebar">
                    	<span>See good returns!&nbsp;</span>
                    </div>
               </div>
           </div>
        </div><!-- end:main_bottom -->
      
          
        <div class="main_bottom_3">
        
        </div><!-- end:main_bottom_2 -->
    </div><!-- end:content-->


    <div id="footer">
  
        <ul class="footer_nav">
            <li><a href="###">Users Agreement</a></li> |
            <li><a href="###">Privacy Policy</a></li> |
            <li><a href="###"> Contact  Us</a></li>
        </ul>
        <p>Copyright © 2011 c2earn Multimedia.  All rights reserved. </p>
    </div><!-- end:footer-->
    
</body>
<script type="text/javascript" src="../Public/js/jquery-1.3.min.js"></script>
<script type="text/javascript" src="../Public/js/nav-hover.js"></script>

</html>